{template nheader.html}

<div class="page-bar">
    <ul class="page-breadcrumb mylink">
        {$menu.link}
    </ul>
    <ul class="page-breadcrumb myname">
        {$menu.name}
    </ul>
    <div class="page-toolbar">
        <div class="btn-group pull-right">
            <button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false" data-hover="dropdown"> {fc_lang('操作菜单')}
                <i class="fa fa-angle-down"></i>
            </button>
            <ul class="dropdown-menu pull-right" role="menu">
                {loop $menu.quick $t}
                <li>
                    <a href="{$t.url}">{$t.icon} {$t.name}</a>
                </li>
                {/loop}
                <li class="divider"> </li>
                <li>
                    <a href="javascript:window.location.reload();">
                        <i class="icon-refresh"></i> {fc_lang('刷新页面')}</a>
                </li>
            </ul>
        </div>
    </div>
</div>

<h3 class="page-title">
    <small>{fc_lang('在线升级程序必须进行域名授权认证，如果更改过程序核心目录请不要进行在线升级')}</small>
</h3>

<div class="portlet light bordered">
    <div class="portlet-body">
        <div class="table-scrollable v3table">
            <table class="table">
                <thead>
                <tr>
                    <th align="left" width="250">{fc_lang('程序名称')}</th>
                    <th align="left" width="90">{fc_lang('程序版本')}</th>
                    <th align="left" width="120">{fc_lang('发行时间')}</th>
                    <th align="left" class="dr_option"></th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td align="left">FineCMS高级版</td>
                    <td align="left">v{DR_VERSION}</td>
                    <td align="left">{DR_UPDATE}</td>
                    <td align="left" class="dr_option">
                        <a class="ago" href="{$url}"> <i class="fa fa-refresh"></i> {fc_lang('在线升级')}</a>
                        <span class="dr_check_0" style="color: red;"></span>
                    </td>
                </tr>
                {loop $branch $dir $t}
                <td align="left">{$t['V_NAME']}</td>
                <td align="left">v{$t['V_VERSION']}</td>
                <td align="left">{$t['V_UPDATE']}</td>
                <td align="left" class="dr_option">
                    {if $t.install}
                    <a class="ago" href="{$burl}&id={$t['V_ID']}&eid={$t['V_VERSION_ID']}"> <i class="fa fa-refresh"></i> {fc_lang('在线升级')}</a>
                    <a class="adel" href="javascript:;" onClick="return dr_confirm_url('{fc_lang('卸载之后将无法使用相关功能,请确认?')}','{dr_url('upgrade/uninstall')}&dir={$dir}');"> <i class="fa fa-trash"></i> {fc_lang('卸载')}</a>
                    <span class="dr_check_{$t['V_ID']}" style="color: red;"></span>
                    {else}
                    <a class="alist" href="javascript:;" onClick="return dr_confirm_url('{fc_lang('安装之后将于FineCMS高级版整合,请确认?')}','{dr_url('upgrade/install')}&dir={$dir}');"> <i class="fa fa-cog"></i> {fc_lang('安装')}</a>
                    {/if}
                </td>
                {/loop}
                </tbody>
            </table>
        </div>
    </div>
</div>
{template nfooter.html}